<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="js/jquery-3.1.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/angular.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/angular-ui-router.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="js/bootstrap.min.css"/>
	</head>
	<body ng-app="myApp" ng-controller="Ctrl">
		
		
	</body>
	
	<script type="text/javascript">
	
		var app=angular.module("myApp",["ui.router"]);
		
		
		//**************主控制器******************
		app.controller("Ctrl",function($scope,$http){
			//***************调取数据*************
			$http.get("http://127.0.0.1:8070").then(function(res){
				console.log(res.data)
			})
		})
		
	</script>
</html>
